package com.ticket.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 场次座位对象 yanchu_seat
 * 
 * @date 2023-09-26
 */
public class YanchuSeat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 票号 */
    @Excel(name = "票号")
    private String ticket;

    /** 登录用户id */
    @Excel(name = "登录用户id")
    private Long userId;

    /** 场次编号 */
    @Excel(name = "场次编号")
    private Long sessionId;

    /** 场馆编号 */
    @Excel(name = "场馆编号")
    private Long hallId;

    /** 区域编码 */
    @Excel(name = "区域编码")
    private Long areaId;

    /** 排 */
    @Excel(name = "排")
    private Integer rowNumber;

    /** 1~100 */
    @Excel(name = "1~100")
    private Integer seatNumber;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal money;

    /** 展示 */
    @Excel(name = "展示")
    private String showNumber;

    /** 状态，0:初始，1：已放票，2：占有票等待支付，3：已支付，4：不外放 */
    @Excel(name = "状态，0:初始，1：已放票，2：占有票等待支付，3：已支付，4：不外放")
    private Integer status;
    @Excel(name = "价格编码")
    private Long priceId;
    @Excel(name = "所属订单号")
    private Long orderId;
    @Excel(name = "预留类型")
    private Long reservedId;

    @Excel(name = "坐标")
    private Integer xPos;
    public Integer getxPos() {
        return xPos;
    }

    public void setxPos(Integer xPos) {
        this.xPos = xPos;
    }


    public Long getReservedId() {
        return reservedId;
    }

    public void setReservedId(Long reservedId) {
        this.reservedId = reservedId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getPriceId() {
        return priceId;
    }

    public void setPriceId(Long priceId) {
        this.priceId = priceId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTicket(String ticket) 
    {
        this.ticket = ticket;
    }

    public String getTicket() 
    {
        return ticket;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSessionId(Long sessionId) 
    {
        this.sessionId = sessionId;
    }

    public Long getSessionId() 
    {
        return sessionId;
    }
    public void setHallId(Long hallId) 
    {
        this.hallId = hallId;
    }

    public Long getHallId() 
    {
        return hallId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setRowNumber(Integer rowNumber)
    {
        this.rowNumber = rowNumber;
    }

    public Integer getRowNumber()
    {
        return rowNumber;
    }
    public void setSeatNumber(Integer seatNumber)
    {
        this.seatNumber = seatNumber;
    }

    public Integer getSeatNumber()
    {
        return seatNumber;
    }

    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setShowNumber(String showNumber) 
    {
        this.showNumber = showNumber;
    }

    public String getShowNumber() 
    {
        return showNumber;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ticket", getTicket())
            .append("userId", getUserId())
            .append("sessionId", getSessionId())
            .append("hallId", getHallId())
            .append("areaId", getAreaId())
            .append("rowNumber", getRowNumber())
            .append("seatNumber", getSeatNumber())
            .append("priceId", getPriceId())
            .append("money", getMoney())
            .append("showNumber", getShowNumber())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
